home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / ace_basic / ace24.lha / prgs / ExternFunc / sub.c < prev    next >
Encoding:
Text File  |  1996-09-11  |  169 b   |  13 lines

  1. /* 
  2. ** Subtract two long integers passed
  3. ** by value and return the result in 
  4. ** a third parameter by reference.
  5. */
  6.  
  7. subtract(x,y,z)
  8. long x,y;
  9. long *z;
  10. {
  11.   *z = x-y;
  12. }
  13.